export class TestPaper {
  public TestQuestion1(): string {
    const _str =
      "1. 在变(配)电站、发电厂、电力线路等场所的( )工作，应同时遵守《国家电网公司电力安全工作规程》的变电、配电、线路等相应部分。\n" +
      " A.电力通信\n" +
      " B.现场施工\n" +
      " C.设备检修\n" +
      " D.倒闸操作";
    return _str;
  }
  public TestQuestion2(): string {
    const _str =
      " 2. 为加强电力通信作业现场安全管理，规范各类工作人员的行为，保证( )，依据国家有关法律、法规，结合电力通信作业实际，制定本规程。\n" +
      " A.电力系统安全\n" +
      " B.网络系统安全\n" +
      " C.交换系统安全\n" +
      " D.电力通信系统安全";

    return _str;
  }
  public TestQuestion3(): string {
    const _str =
      " 3. 电力通信作业现场的生产条件和( )等应符合有关标准规范的要求。\n" +
      " A.安全设施\n" +
      " B.工作服\n" +
      " C.安全工器具\n" +
      " D.施工机具";
    return _str;
  }
}

export class TestPaperA extends TestPaper {
  public TestQuestion1(): string {
    let _str = super.TestQuestion1();
    _str += "答案: D";
    return _str;
  }
  public TestQuestion2(): string {
    let _str = super.TestQuestion2();
    _str += "答案: C";
    return _str;
  }
  public TestQuestion3(): string {
    let _str = super.TestQuestion3();
    _str += "答案: B";
    return _str;
  }
}

export class TestPaperB extends TestPaper {
  public TestQuestion1(): string {
    let _str = super.TestQuestion1();
    _str += "答案: A";
    return _str;
  }
  public TestQuestion2(): string {
    let _str = super.TestQuestion2();
    _str += "答案: B";
    return _str;
  }
  public TestQuestion3(): string {
    let _str = super.TestQuestion3();
    _str += "答案: C";
    return _str;
  }
}
